package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "operation_record")
public class OperationRecord {
    /**
     * 手术记录表id
     */
    @TableId(value = "hor_id", type = IdType.AUTO)
    private Integer horId;

    /**
     * 记录编号
     */
    @TableField(value = "hor_card")
    private String horCard;

    /**
     * 手术类型id
     */
    @TableField(value = "hoy_id")
    private Integer hoyId;

    /**
     * 病人id
     */
    @TableField(value = "pt_id")
    private Integer ptId;

    /**
     * 医生id
     */
    @TableField(value = "w_id")
    private Integer wId;

    /**
     * 总费用
     */
    @TableField(value = "hor_price")
    private BigDecimal horPrice;

    /**
     * 手术时间
     */
    @TableField(value = "hor_create_time")
    private Date horCreateTime;

    /**
     * 状态
     */
    @TableField(value = "hor_status")
    private String horStatus;
    @TableField(value = "eq_isdel")
    private Integer eqIsdel;
    @TableField(exist = false)
    private Patients patients;
    @TableField(exist = false)
    private OperationType operationType;
    @TableField(exist = false)
    private User user;

}
